﻿<phone:PhoneApplicationPage 
    x:Class="PNut_Project_Lin.diagdetail"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="800" d:DesignWidth="480"
    shell:SystemTray.IsVisible="False">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <StackPanel x:Name="LayoutRoot" Background="Transparent">


        <!--TitlePanel contains the name of the application and page title-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,10,0,5">
            <TextBlock x:Name="ApplicationTitle" HorizontalAlignment="Center" Text="Car Emergency Assistant System" Style="{StaticResource PhoneTextNormalStyle}"/>
            <TextBlock x:Name="PageTitle" HorizontalAlignment="Left" Text="page name" Margin="9,5,0,0" FontSize="52"  TextWrapping="Wrap" Style="{StaticResource PhoneTextTitle1Style}" FontFamily="/PNut_Project_Lin;component/Fonts/Fonts.zip#TH Sarabun New" Foreground="#FFF9EE0C"  />
        </StackPanel>

        <!--ContentPanel - place additional content here-->
        <ScrollViewer Height="612">
            <StackPanel >
               <TextBlock Text="สาเหตุ" FontSize="48" FontFamily="/PNut_Project_Lin;component/Fonts/Fonts.zip#TH Sarabun New"/>
                <TextBlock Margin="20,0,20,0" x:Name="DetailTb" TextWrapping="Wrap" FontSize="38" FontFamily="/PNut_Project_Lin;component/Fonts/Fonts.zip#TH Sarabun New" ></TextBlock>
                <TextBlock Text="การแก้ไข" FontSize="48" FontFamily="/PNut_Project_Lin;component/Fonts/Fonts.zip#TH Sarabun New"/>
                <TextBlock Margin="20,0,20,0" x:Name="DetailfixTb" TextWrapping="Wrap" FontSize="38" FontFamily="/PNut_Project_Lin;component/Fonts/Fonts.zip#TH Sarabun New"></TextBlock>
                <TextBlock Text="วิธีซ่อมรถที่เกี่ยวข้องในเบื้องต้น" FontSize="48" FontFamily="/PNut_Project_Lin;component/Fonts/Fonts.zip#TH Sarabun New" />
                <StackPanel Visibility="Collapsed" x:Name="st1"  Orientation="Horizontal" MouseLeftButtonDown="st1_MouseLeftButtonDown" >
                    <Image x:Name="im1" Width="150" Margin="20,10,10,0"  />
                    <TextBlock x:Name="tb1" FontSize="38" FontFamily="/PNut_Project_Lin;component/Fonts/Fonts.zip#TH Sarabun New"/>
                </StackPanel>

                <StackPanel Visibility="Collapsed" x:Name="st2" Orientation="Horizontal" MouseLeftButtonDown="st2_MouseLeftButtonDown">
                    <Image x:Name="im2" Width="150" Margin="20,10,10,0" />
                    <TextBlock x:Name="tb2" FontSize="38" FontFamily="/PNut_Project_Lin;component/Fonts/Fonts.zip#TH Sarabun New" />
                </StackPanel>
                <StackPanel Visibility="Collapsed" x:Name="st3" Orientation="Horizontal" MouseLeftButtonDown="st3_MouseLeftButtonDown_1">
                    <TextBlock x:Name="tb3" FontSize="38" FontFamily="/PNut_Project_Lin;component/Fonts/Fonts.zip#TH Sarabun New"/>
                </StackPanel>
                <StackPanel Visibility="Collapsed" x:Name="st4" Orientation="Horizontal" MouseLeftButtonDown="st4_MouseLeftButtonDown_1">
                    <TextBlock x:Name="tb4" FontSize="38" FontFamily="/PNut_Project_Lin;component/Fonts/Fonts.zip#TH Sarabun New"/>
                </StackPanel>
                <Button x:Name="Map2Bt" Height="110" BorderThickness="0" HorizontalAlignment="Left" Click="Map2Bt_Click" >
                    <StackPanel Orientation="Horizontal" >
                        <Image Height="80" Source="picture/map_app.png" Stretch="Fill" Width="80"/>
                        <TextBlock TextWrapping="Wrap" Text="ค้นหาอู่ซ่อมรถ" FontSize="44" FontFamily="/PNut_Project_Lin;component/Fonts/Fonts.zip#TH Sarabun New" Margin="10,10,0,0"/>
                    </StackPanel>
                </Button>
                <Button x:Name="service2_bt" Height="110" BorderThickness="0" HorizontalAlignment="Left" Click="service2_bt_Click">
                    <StackPanel Orientation="Horizontal">
                        <Image Height="80" Source="picture/Car-Repair-Blue-icon.png" Stretch="Fill" Width="80" HorizontalAlignment="Left"/>
                        <TextBlock TextWrapping="Wrap" Text="ศูนย์บริการรถยนต์" FontSize="44" FontFamily="/PNut_Project_Lin;component/Fonts/Fonts.zip#TH Sarabun New" Margin="10,10,0,0"/>
                    </StackPanel>
                </Button>

            </StackPanel>
        </ScrollViewer>
    </StackPanel>

    <!--Sample code showing usage of ApplicationBar-->
    <!--<phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button1.png" Text="Button 1"/>
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="Button 2"/>
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="MenuItem 1"/>
                <shell:ApplicationBarMenuItem Text="MenuItem 2"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>-->

</phone:PhoneApplicationPage>
